<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of users_model
 *
 * @author hassanali
 */
class packages_details_model extends cms_model {

    //put your code here
    public function __construct() {
        parent::__construct();
        $this->table = 'package_details';
        $this->select = array('package_details.*', 'package_details_language.title', 'package_details_language.lang');
        $this->join = array('package_details_language' => 'package_details_language.pd_id = package_details.id');
        $this->where = array('package_details_language.lang' => LANG);
    }

}

?>
